<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>Class HiNcHost | HiAPI-C# 2025 </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Class HiNcHost | HiAPI-C# 2025 ">
      
      <meta name="description" content="Rich HiNC Service. Host class for HiNC functionality that provides project management, path resolution, and MongoDB integration.">
      <link rel="icon" href="../img/HiAPI.favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
      <meta name="loc:inThisArticle" content="In this article">
      <meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
      <meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
      <meta name="loc:tocFilter" content="Filter by title">
      <meta name="loc:nextArticle" content="Next">
      <meta name="loc:prevArticle" content="Previous">
      <meta name="loc:themeLight" content="Light">
      <meta name="loc:themeDark" content="Dark">
      <meta name="loc:themeAuto" content="Auto">
      <meta name="loc:changeTheme" content="Change theme">
      <meta name="loc:copy" content="Copy">
      <meta name="loc:downloadPdf" content="Download PDF">

      <script type="module" src="./../public/docfx.min.js"></script>

      <script>
        const theme = localStorage.getItem('theme') || 'auto'
        document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
      </script>

  </head>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
            
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Hi.HiNcKits.HiNcHost">



  <h1 id="Hi_HiNcKits_HiNcHost" data-uid="Hi.HiNcKits.HiNcHost" class="text-break">
Class HiNcHost  
  </h1>

  <div class="facts text-secondary">
    <dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.HiNcKits.html">HiNcKits</a></dd></dl>
  <dl><dt>Assembly</dt><dd>HiNc.dll</dd></dl>
  </div>

  <div class="markdown summary"><p>Rich HiNC Service.
Host class for HiNC functionality that provides project management, path resolution, and MongoDB integration.</p>
</div>
  <div class="markdown conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HiNcHost : IDisposable</code></pre>
  </div>




  <dl class="typelist inheritance">
    <dt>Inheritance</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
      <div><span class="xref">HiNcHost</span></div>
    </dd>
  </dl>

  <dl class="typelist implements">
    <dt>Implements</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    </dd>
  </dl>


  <dl class="typelist inheritedMembers">
    <dt>Inherited Members</dt>
    <dd>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
    </div>
  </dd></dl>

  <dl class="typelist extensionMethods">
    <dt>Extension Methods</dt>
    <dd>
  <div>
      <a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
  </div>
  </dd></dl>





  <h2 class="section" id="constructors">Constructors
</h2>


  <a id="Hi_HiNcKits_HiNcHost__ctor_" data-uid="Hi.HiNcKits.HiNcHost.#ctor*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost__ctor_System_String_System_Int32_System_String_" data-uid="Hi.HiNcKits.HiNcHost.#ctor(System.String,System.Int32,System.String)">
  HiNcHost(string, int, string)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HiNcHost(string adminDirectory, int mongodbPort, string displayEngineFontFile)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>adminDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
    <dt><code>mongodbPort</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
    <dd></dd>
    <dt><code>displayEngineFontFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The default value will be alternative if the value is null.</p>
</dd>
  </dl>












  <h2 class="section" id="fields">Fields
</h2>



  <h3 id="Hi_HiNcKits_HiNcHost_HiNcUserDbMetaName" data-uid="Hi.HiNcKits.HiNcHost.HiNcUserDbMetaName">
  HiNcUserDbMetaName
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the name of the HiNC user database metadata.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public const string HiNcUserDbMetaName = &quot;UserDbMeta&quot;</code></pre>
  </div>




  <h4 class="section">Field Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>










  <h3 id="Hi_HiNcKits_HiNcHost_HiNcUserDbName" data-uid="Hi.HiNcKits.HiNcHost.HiNcUserDbName">
  HiNcUserDbName
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the name of the HiNC user database.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public const string HiNcUserDbName = &quot;HiNcUserDb&quot;</code></pre>
  </div>




  <h4 class="section">Field Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>









  <h2 class="section" id="properties">Properties
</h2>


  <a id="Hi_HiNcKits_HiNcHost_AdminDir_" data-uid="Hi.HiNcKits.HiNcHost.AdminDir*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_AdminDir" data-uid="Hi.HiNcKits.HiNcHost.AdminDir">
  AdminDir
  
  </h3>

  <div class="markdown level1 summary"><p>Admin absolute directory.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string AdminDir { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_AdminExtendedNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.AdminExtendedNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_AdminExtendedNamedPath" data-uid="Hi.HiNcKits.HiNcHost.AdminExtendedNamedPath">
  AdminExtendedNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the admin extended named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath AdminExtendedNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_AdminNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.AdminNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_AdminNamedPath" data-uid="Hi.HiNcKits.HiNcHost.AdminNamedPath">
  AdminNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the admin named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NamedPath AdminNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_CacheDbId_" data-uid="Hi.HiNcKits.HiNcHost.CacheDbId*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_CacheDbId" data-uid="Hi.HiNcKits.HiNcHost.CacheDbId">
  CacheDbId
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the cache database ID.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string CacheDbId { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_DirectoryRoute_" data-uid="Hi.HiNcKits.HiNcHost.DirectoryRoute*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_DirectoryRoute" data-uid="Hi.HiNcKits.HiNcHost.DirectoryRoute">
  DirectoryRoute
  
  </h3>

  <div class="markdown level1 summary"><p>The <a class="xref" href="Hi.Common.PathUtils.BaseAndSubDirectory.html#Hi_Common_PathUtils_BaseAndSubDirectory_BaseDirectory">BaseDirectory</a> is admin directory.
The <a class="xref" href="Hi.Common.PathUtils.BaseAndSubDirectory.html#Hi_Common_PathUtils_BaseAndSubDirectory_SubDirectory">SubDirectory</a> is current applied project directory.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BaseAndSubDirectory DirectoryRoute { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.BaseAndSubDirectory.html">BaseAndSubDirectory</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_MachiningProject_" data-uid="Hi.HiNcKits.HiNcHost.MachiningProject*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_MachiningProject" data-uid="Hi.HiNcKits.HiNcHost.MachiningProject">
  MachiningProject
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the current MachiningProject instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject MachiningProject { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_MongoServer_" data-uid="Hi.HiNcKits.HiNcHost.MongoServer*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_MongoServer" data-uid="Hi.HiNcKits.HiNcHost.MongoServer">
  MongoServer
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the main MongoDB runner.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IMongoRunner MongoServer { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MongoUtils.IMongoRunner.html">IMongoRunner</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ProjectDir_" data-uid="Hi.HiNcKits.HiNcHost.ProjectDir*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ProjectDir" data-uid="Hi.HiNcKits.HiNcHost.ProjectDir">
  ProjectDir
  
  </h3>

  <div class="markdown level1 summary"><p>Project Absolute Directory.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ProjectDir { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ProjectExtendedNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.ProjectExtendedNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ProjectExtendedNamedPath" data-uid="Hi.HiNcKits.HiNcHost.ProjectExtendedNamedPath">
  ProjectExtendedNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the project extended named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath ProjectExtendedNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ProjectNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.ProjectNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ProjectNamedPath" data-uid="Hi.HiNcKits.HiNcHost.ProjectNamedPath">
  ProjectNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the project named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NamedPath ProjectNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ProjectPathRoute_" data-uid="Hi.HiNcKits.HiNcHost.ProjectPathRoute*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ProjectPathRoute" data-uid="Hi.HiNcKits.HiNcHost.ProjectPathRoute">
  ProjectPathRoute
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the project path route.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public PathRoute ProjectPathRoute { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.PathRoute.html">PathRoute</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ProjectRelativeDirectory_" data-uid="Hi.HiNcKits.HiNcHost.ProjectRelativeDirectory*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ProjectRelativeDirectory" data-uid="Hi.HiNcKits.HiNcHost.ProjectRelativeDirectory">
  ProjectRelativeDirectory
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the relative project directory path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ProjectRelativeDirectory { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ResourceDir_" data-uid="Hi.HiNcKits.HiNcHost.ResourceDir*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ResourceDir" data-uid="Hi.HiNcKits.HiNcHost.ResourceDir">
  ResourceDir
  
  </h3>

  <div class="markdown level1 summary"><p>Resource absolute directory.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ResourceDir { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ResourceExtendedNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.ResourceExtendedNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ResourceExtendedNamedPath" data-uid="Hi.HiNcKits.HiNcHost.ResourceExtendedNamedPath">
  ResourceExtendedNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the resource extended named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath ResourceExtendedNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ResourceNamedPath_" data-uid="Hi.HiNcKits.HiNcHost.ResourceNamedPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ResourceNamedPath" data-uid="Hi.HiNcKits.HiNcHost.ResourceNamedPath">
  ResourceNamedPath
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the resource named path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NamedPath ResourceNamedPath { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_HiNcKits_HiNcHost_ResourceRelDir_" data-uid="Hi.HiNcKits.HiNcHost.ResourceRelDir*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ResourceRelDir" data-uid="Hi.HiNcKits.HiNcHost.ResourceRelDir">
  ResourceRelDir
  
  </h3>

  <div class="markdown level1 summary"><p>Relative directory from <a class="xref" href="Hi.HiNcKits.HiNcHost.html#Hi_HiNcKits_HiNcHost_AdminDir">AdminDir</a> for resource.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ResourceRelDir { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <h2 class="section" id="methods">Methods
</h2>


  <a id="Hi_HiNcKits_HiNcHost_CloseProject_" data-uid="Hi.HiNcKits.HiNcHost.CloseProject*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_CloseProject" data-uid="Hi.HiNcKits.HiNcHost.CloseProject">
  CloseProject()
  
  </h3>

  <div class="markdown level1 summary"><p>Closes the current project.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Task CloseProject()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
    <dd><p>A task representing the asynchronous operation</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_CopyResourceIfNotExisted_" data-uid="Hi.HiNcKits.HiNcHost.CopyResourceIfNotExisted*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_CopyResourceIfNotExisted" data-uid="Hi.HiNcKits.HiNcHost.CopyResourceIfNotExisted">
  CopyResourceIfNotExisted()
  
  </h3>

  <div class="markdown level1 summary"><p>Copies resources if they don't already exist in the target location.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void CopyResourceIfNotExisted()</code></pre>
  </div>













  <a id="Hi_HiNcKits_HiNcHost_Dispose_" data-uid="Hi.HiNcKits.HiNcHost.Dispose*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_Dispose" data-uid="Hi.HiNcKits.HiNcHost.Dispose">
  Dispose()
  
  </h3>

  <div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  </div>













  <a id="Hi_HiNcKits_HiNcHost_Dispose_" data-uid="Hi.HiNcKits.HiNcHost.Dispose*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_Dispose_System_Boolean_" data-uid="Hi.HiNcKits.HiNcHost.Dispose(System.Boolean)">
  Dispose(bool)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByNamePath_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByNamePath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByNamePath_System_String_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByNamePath(System.String)">
  GetExtendedNamedPathByNamePath(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets an extended named path by its name path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath GetExtendedNamedPathByNamePath(string namePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>namePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The name path to look up.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd><p>The extended named path for the specified name path, or null if not found.</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByPath_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByPath_System_String_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByPath(System.String)">
  GetExtendedNamedPathByPath(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets an extended named path by its path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath GetExtendedNamedPathByPath(string path)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>path</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The path to look up.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd><p>The extended named path with the specified path, or null if not found.</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByUriPara_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByUriPara*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathByUriPara_System_String_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathByUriPara(System.String)">
  GetExtendedNamedPathByUriPara(string)
  
  </h3>

  <div class="markdown level1 summary"><p>GetExtendedNamedPath By blazor page parameter.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ExtendedNamedPath GetExtendedNamedPathByUriPara(string uriPara)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>uriPara</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a></dt>
    <dd></dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathList_" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathList*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetExtendedNamedPathList_Hi_HiNcKits_BasePathEnum___" data-uid="Hi.HiNcKits.HiNcHost.GetExtendedNamedPathList(Hi.HiNcKits.BasePathEnum[])">
  GetExtendedNamedPathList(params BasePathEnum[])
  
  </h3>

  <div class="markdown level1 summary"><p>Gets a list of extended named paths for the specified base path types.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public List&lt;ExtendedNamedPath&gt; GetExtendedNamedPathList(params BasePathEnum[] basePathEnums)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>basePathEnums</code> <a class="xref" href="Hi.HiNcKits.BasePathEnum.html">BasePathEnum</a>[]</dt>
    <dd><p>The base path types to include.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.Common.PathUtils.ExtendedNamedPath.html">ExtendedNamedPath</a>&gt;</dt>
    <dd><p>A list of extended named paths.</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetNamedPathByName_" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathByName*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetNamedPathByName_System_String_" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathByName(System.String)">
  GetNamedPathByName(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets a named path by its name.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NamedPath GetNamedPathByName(string name)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The name of the path to retrieve</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a></dt>
    <dd><p>The named path with the specified name, or null if not found</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetNamedPathByPath_" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathByPath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetNamedPathByPath_System_String_" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathByPath(System.String)">
  GetNamedPathByPath(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets a named path by its path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NamedPath GetNamedPathByPath(string path)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>path</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The path to look up.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a></dt>
    <dd><p>The named path with the specified path, or null if not found.</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_GetNamedPathList_" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathList*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_GetNamedPathList_Hi_HiNcKits_BasePathEnum___" data-uid="Hi.HiNcKits.HiNcHost.GetNamedPathList(Hi.HiNcKits.BasePathEnum[])">
  GetNamedPathList(params BasePathEnum[])
  
  </h3>

  <div class="markdown level1 summary"><p>Gets a list of named paths for the specified base path types.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public List&lt;NamedPath&gt; GetNamedPathList(params BasePathEnum[] basePathEnums)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>basePathEnums</code> <a class="xref" href="Hi.HiNcKits.BasePathEnum.html">BasePathEnum</a>[]</dt>
    <dd><p>The base path types to include.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.Common.PathUtils.NamedPath.html">NamedPath</a>&gt;</dt>
    <dd><p>A list of named paths.</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_LoadProjectByRelativePath_" data-uid="Hi.HiNcKits.HiNcHost.LoadProjectByRelativePath*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_LoadProjectByRelativePath_System_String_" data-uid="Hi.HiNcKits.HiNcHost.LoadProjectByRelativePath(System.String)">
  LoadProjectByRelativePath(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Loads a project from the specified relative file path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Task LoadProjectByRelativePath(string relativeFilePathFromAdminRoot)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>relativeFilePathFromAdminRoot</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The relative file path from the admin directory root</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
    <dd><p>A task representing the asynchronous operation</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_NewProjectByRelFile_" data-uid="Hi.HiNcKits.HiNcHost.NewProjectByRelFile*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_NewProjectByRelFile_System_String_" data-uid="Hi.HiNcKits.HiNcHost.NewProjectByRelFile(System.String)">
  NewProjectByRelFile(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Creates a new project from a relative file path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void NewProjectByRelFile(string relFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The relative file path from the admin directory</p>
</dd>
  </dl>












  <a id="Hi_HiNcKits_HiNcHost_ReloadProject_" data-uid="Hi.HiNcKits.HiNcHost.ReloadProject*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ReloadProject" data-uid="Hi.HiNcKits.HiNcHost.ReloadProject">
  ReloadProject()
  
  </h3>

  <div class="markdown level1 summary"><p>Reloads the current project.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Task ReloadProject()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
    <dd><p>A task representing the asynchronous operation</p>
</dd>
  </dl>











  <a id="Hi_HiNcKits_HiNcHost_SaveAsProject_" data-uid="Hi.HiNcKits.HiNcHost.SaveAsProject*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_SaveAsProject_System_String_" data-uid="Hi.HiNcKits.HiNcHost.SaveAsProject(System.String)">
  SaveAsProject(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Saves the current project to a specified relative file path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void SaveAsProject(string relativeFilePathFromAdminRoot)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>relativeFilePathFromAdminRoot</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The relative file path from the admin directory root</p>
</dd>
  </dl>












  <a id="Hi_HiNcKits_HiNcHost_SaveProject_" data-uid="Hi.HiNcKits.HiNcHost.SaveProject*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_SaveProject" data-uid="Hi.HiNcKits.HiNcHost.SaveProject">
  SaveProject()
  
  </h3>

  <div class="markdown level1 summary"><p>Save project by <a class="xref" href="Hi.HiNcKits.HiNcHost.html#Hi_HiNcKits_HiNcHost_ProjectPathRoute">ProjectPathRoute</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void SaveProject()</code></pre>
  </div>













  <a id="Hi_HiNcKits_HiNcHost_ShowMessageBoard_" data-uid="Hi.HiNcKits.HiNcHost.ShowMessageBoard*"></a>

  <h3 id="Hi_HiNcKits_HiNcHost_ShowMessageBoard_System_String_System_String_Hi_Common_Messages_BootstrapTheme_" data-uid="Hi.HiNcKits.HiNcHost.ShowMessageBoard(System.String,System.String,Hi.Common.Messages.BootstrapTheme)">
  ShowMessageBoard(string, string, BootstrapTheme)
  
  </h3>

  <div class="markdown level1 summary"><p>Shows a message board with specified title, message and theme.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ShowMessageBoard(string title, string message, BootstrapTheme bootstrapThemeColor)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>title</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The title of the message board</p>
</dd>
    <dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The message to display</p>
</dd>
    <dt><code>bootstrapThemeColor</code> <a class="xref" href="Hi.Common.Messages.BootstrapTheme.html">BootstrapTheme</a></dt>
    <dd><p>The bootstrap theme color for the message board</p>
</dd>
  </dl>












  <h2 class="section" id="events">Events
</h2>



  <h3 id="Hi_HiNcKits_HiNcHost_OnMachiningProjectDisposing" data-uid="Hi.HiNcKits.HiNcHost.OnMachiningProjectDisposing">
  OnMachiningProjectDisposing
  
  </h3>

  <div class="markdown level1 summary"><p>Event raised when the MachiningProject is about to be disposed.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Func&lt;MachiningProject, Task&gt; OnMachiningProjectDisposing</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
    <dd></dd>
  </dl>








  <h3 id="Hi_HiNcKits_HiNcHost_OnShownMessageBoard" data-uid="Hi.HiNcKits.HiNcHost.OnShownMessageBoard">
  OnShownMessageBoard
  
  </h3>

  <div class="markdown level1 summary"><p>Event raised when a message board is shown.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event ShowMessageBoardDelegate OnShownMessageBoard</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.Messages.ShowMessageBoardDelegate.html">ShowMessageBoardDelegate</a></dt>
    <dd></dd>
  </dl>








</article>

        <div class="contribution d-print-none">
        </div>


      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top text-secondary">
      <div class="container-xxl">
        <div class="flex-fill">
          <span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
        </div>
      </div>
    </footer>
  </body>
</html>
